import request from '@/utils/request'

// 发明人列列表
export function inventorLists(params?: Record<string, any>) {
    return request.get({ url: '/inventor/list', params })
}

// 发明人列列表
export function inventorAll(params?: Record<string, any>) {
    return request.get({ url: '/inventor/all', params })
}
// 发明人列详情
export function inventorDetail(params: Record<string, any>) {
    return request.get({ url: '/inventor/detail', params })
}

// 发明人列新增
export function inventorAdd(params: Record<string, any>) {
    return request.post({ url: '/inventor/add', params })
}

// 发明人列编辑
export function inventorEdit(params: Record<string, any>) {
    return request.post({ url: '/inventor/edit', params })
}

// 发明人列删除
export function inventorDelete(params: Record<string, any>) {
    return request.post({ url: '/inventor/del', params })
}
